<?php
session_start();//启动session_start
$_SESSION['token']=2;
echo $_SESSION['token'];